package com.hxl.aop.entity;

import com.hxl.aop.service.Fruit;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Service;

@Service("apple")
public class Apple implements Fruit {
    @Override
    public void eat() {
        System.out.println("吃苹果");
    }
}
